package com.example.javawebstudy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.javawebstudy.model.Company;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CompanyMapper extends BaseMapper<Company> {

    @Select("select * from company")
     List<Company> getallcompanys();
}
